First version of staged scheme. Greedy() beginning