Demo: force segments to have integer lengths

Information: Demo: force segments to have integer lengths