Adjusted number of segments with colliders and added locks to joints