set maximum bar width