Change minbody,maxbody to size_t