reduce listValues() complexity