R(W=5, H=12) can fit inside R(W=10, H=20) leftover option 1: R(W=5, H=20) and R(W=5, H=8) leftover option 2: R(W=5, H=12) and R(W=10, H=8) R(W=4, H=8) can fit inside R(W=5, H=20) leftover option 1: R(W=1, H=20) and R(W=4, H=12) leftover option 2: R(W=1, H=8) and R(W=5, H=12) R(W=4, H=8) can fit inside R(W=5, H=8) leftover option 1: R(W=1, H=8) and R(W=4, H=0) leftover option 2: R(W=1, H=8) and R(W=5, H=0) R(W=4, H=8) can fit inside R(W=5, H=12) leftover option 1: R(W=1, H=12) and R(W=4, H=4) leftover option 2: R(W=1, H=8) and R(W=5, H=4) R(W=4, H=8) can fit inside R(W=10, H=8) leftover option 1: R(W=6, H=8) and R(W=4, H=0) leftover option 2: R(W=6, H=8) and R(W=10, H=0) R(W=12, H=2) can not fit inside R(W=1, H=20) R(W=12, H=2) can fit inside R(W=4, H=12) after rotation leftover option 1: R(W=2, H=12) and R(W=2, H=0) leftover option 2: R(W=2, H=12) and R(W=4, H=0) R(W=12, H=2) can not fit inside R(W=1, H=8) R(W=12, H=2) can fit inside R(W=5, H=12) after rotation leftover option 1: R(W=3, H=12) and R(W=2, H=0) leftover option 2: R(W=3, H=12) and R(W=5, H=0) R(W=12, H=2) can not fit inside R(W=1, H=8) R(W=12, H=2) can not fit inside R(W=4, H=0) R(W=12, H=2) can not fit inside R(W=1, H=8) R(W=12, H=2) can not fit inside R(W=5, H=0) R(W=12, H=2) can not fit inside R(W=1, H=12) R(W=12, H=2) can not fit inside R(W=4, H=4) R(W=12, H=2) can not fit inside R(W=1, H=8) R(W=12, H=2) can not fit inside R(W=5, H=4) R(W=12, H=2) can not fit inside R(W=6, H=8) R(W=12, H=2) can not fit inside R(W=4, H=0) R(W=12, H=2) can not fit inside R(W=6, H=8) R(W=12, H=2) can not fit inside R(W=10, H=0)