perf-rewrite cut