Filling a wall with squares