Make crop much faster and take much less memory