Box Pyramid Algorithm - QuickBox2D

You can customize the size and height of the stack as you please...