Maybe this should raise a config error if the remaining width is negative? At least it'll make any further logic errors obvious?