debug. (longest-reduce.)