ADD: do cropping in constant time. #50