first attempt at autothreading for moarvm