BUG: Uninitialized data was used when Z thickness too small.