revert width calculation