Jafari: Added a cache for allocations and applied it accordingly..