Connects segments to previous one