using bit scan forward and clear function (__bscf) to iterate through set bits
enabled m&(m-1) to clear first bit under windows