more changes for 64bit: number representation in Q