bmd diagram