reduce boxes size and add exemption rules