Fixed edge case where no pillars would be placed