improve 32 bit performance