add circular case in intra chain if chainsize = 2
add circular case in intra chain if chainsize = 2