Trist data structure debugged