Fix divider length computation