Check for body length before slicing