b756f21f13
This avoids an IndexError if the length of split segments is shorter than expected.
This avoids an IndexError if the length of split segments is shorter than expected.