Backport quadtree implementation into zombies project. Add padding.