use trick by J. Wilkes to set y-boundaries for ds-arrays