clean up longest decreasing