Obviously you can do that, but given how wasteful it is when the dimensions are very different, it seems like it should be possible to do better.