Fixes bugs and memory issues with Int64s