increase performance with our own hashmap
structure for approximated functions