-corrected grow() in segment.cpp