d3.geom.quadtree: pass index to accessor functions.