* modified insert/erase interface of dynpairmap & sparse_pairmap
* fixed bug in dynpairmap iteration