gap_length casted to int