Made using popcnt a lot more easier.