Unsinged mask, changed sqeuence
Indeed endianess independent now