Algorithm/randomalg: criterion changed to match the openstack one

Signed-off-by: Artem Plakunov <artacc@lvk.cs.msu.su>