Limit created segments length