Refactored pillar placing