fixed final width calculation