doh; dynamically generate data array for bounds check