fix outer trahedral indices