reworked MotifAssembler class seems to work better now