fix settlement for history/random
adjust parameter