Fixed the hole in the middle of the segment