Minor refactoring of the CROP operation