Adaptive and Dynamic Multi-Resolution Hashing for Pairwise Summations