Removed unused parameter BMDieOption->optionValue, replacing it with BMDieOption->max