find common line lengths