Replace ugly tweak size computation with explicit tweak clean API.