fix one-off error in numberOfLeadingOnes