Modified GreedySmart