bitwise operations + reduced horizontal zone to avoid limit conditions consequences