rewrite. boo.
reduced reg size to order 5, iterations to 50