TOOLS-371 refactor mongotop, use gridwriter, fix calculations