merge duplicate code, improve fixIncompleteDoLoops handling
improve -+*/ mod performance
use ' instead of :[ ... ]: