find position of only set bit