recursive int converter