Add aviod crossing option

modified the vertex tensor based on the loop gas model