Correct scale range

Old algorithm will cause last interval alway own few instance