precaculate chances, fix maxChance