test for segSize