An attempt to make BMD faster