optimise C++ to use native int64 Haxe class + tidy comments