Added DIAGONAL_COMPENSATION_FACTOR