Last part must be close to first part in order not to follow the same part twice.