FIX: fix bug in implementation  of regionholder::flagvalues
DEV: Add implementation of flagvalues in tripleholder