segmentation.size() needs to have parens