pass third and fourth tests for small and large boxes