Cartesian quadrants selection: a bit faster bitwise algorithm