Make compact layout more compact
Optimize the size of the generated spritesheet
Optimize compact algorithm for placing sprites more faster