greedy_rls can now survive 1-D label array