draw: do bounds checking of array elements (debug only)