BOMAG to buy assets from Terex