Calculate the quadrant.
The quadrant is 8 bit unsigned integer with all bits in use. This function accepts 2 STBox as input. All 8 bits are set by comparing a corner of the box. This makes 256 quadrants in total.