lower maxUndoStates

high numbers cause slow response with large scores