tidy
updatemap removals as array with pre-computed offsets