further simplyfing of 'IRV()'
more simplyfing of 'IRV()'
prefering standard algorithms than 'homemade'