python flip works for 32 bytes