rearranged
fixed triangulation
search models with 0/1 shortcut