previous version was modifying data in the underlying cube, which
probably led to NaNs being turned to zero and then their area being set
to 1