Shorten arrayLength calculation by using ternary operator.
Update build.bat
Update build.bat
Merge remote branch 'upstream/master'
Updated bitposition finding for optimization