Implement JoinInt64() function.