Improved spatial planning with stacks.