other version of powerFraction

This version loops over niche splits and modifies N continuously. This may be slightly faster than the original one...