fix bug caused by small simplex determinant in high dimensional phase
diagrams