Packs a number of nxm sprites in the minimum required number of SpriteSheets