can now work with fully packed dimers as well as loops