bug: don't readd previous position
improvement: cache the score
testUnit5 now generally works