Slice rewrite