In this file the variables `iidiv`, `pos_x`, `pos_y`, `result`, `cx`, and `cy` are leaked into the global namespace. Make sure that they are declared locally.