Dynamic graph disabled for optimization