Get the math right.

Change-Id: I6c0073d27d18676b85809bd5f294e90e23ec9770