make stacking a data derivation.
derive from derivation api example
made this work with new data selection changes.