Free variables to eliminate circular reference
Run GC before measures