fixing bug #4489

when moves, simplifying level calculation of node