fixed tet generation