adding some description for penalize_end_gaps