efficient use of slice-matrix
defined-on used in energy