adjust sdimax for BM and EC