Transition to Python 3 - (integer division issue)