add shallow/deep label on tracemem output (just a hack for now)