Make stocks less crashy under weird config options