add max dimensions to rectangle crop
build files with max dimension on crop-rectangle