Setting parameters of algorithm as defined by user + running parameters search - bug for step = 0 fixed