Remove edge and length counting diagnostics
Adding comments, changing newRetainedSizes to RetainedSizes::create