use constant time operation map.