Convert the old flatten plotmanip into vclamp's FlattenCommand