It follows that the total number of steps in our algorithm will be linear in X, and in fact approximately times more than the number of fields that we have to find, hence there is very little waste.