unbelievable speed increase using a local mutable