Used uint_least64_t for ram size to make it fit