Fix computation of level width.