fix constexpr compile errors
Begin implementing cropping (thanks, xohm!)