[merge] check index out of cached-map