unbelievable, if i remove the while loop in the operations, register usage goes from 61 down to 12. YESSSS