Switch to slices and inlining.