Calculates the minumum skew