fixed but unfinished recursive division