Place blocks in the right location

based on side.