Better packing algorithm.

Using MaxRectsBinPack algorithm.