expand implementation to 64 bits