Finding the position of the set bit