Shiny server edits... trying to make the corrected segment length evenly sized.