huge speedup in analyse by returning only necessary fields