Add parallel line detection