added constraints between adjacent particles