greedy most valueable position found