filled line detection