Adding cache sizing support
Adding factorial support for cache sizing
Adjusting cache macro + support for decode_64_u64 /encode