use split-fills, still need to handle lines and loops seqarately