implement mmas on bitstrings
delete old mmas class