Work in fold/unfold as replacement for gather/scatter.