Segments now handle collisions on both sides.