increase the nubmer of samples
refacored used by inject
conflicts resolved
Array#update_rank!
!