implemented new cropping modes. refs #30