Implemented memonization - Performace Update
Ups, rename without check
Fixed code error