a pile of bricks solution.