prozedure to split the portrange into more or less equal parts