filter out short lines (untested)