Fix non-determinism in area calculation.

Python dictionary order is non-deterministic, and summing up floating point numbers in this non-deterministic order produces a non-deterministic result.