Very lazy map-reduce