change minimum and maximum seg size