DM : do not process empty sub matrices