Really naive unroll
Corrected interval guard and added div/mul operations
Updated interval div