using absolute division for Py3 compatibility