Spatial-partitioning-based acceleration for variational Monte Carlo