Fixed constant mul/div. Separated branching code. Now working on improving.