Checking which columns should be shifted to the left.