array debugging: stuff uninitialized values with NaN
diagnostics, array indexing