add direction equalizing