improved performance when expanding a module