use ES6 Map for PointerMap