modified random search