Cut out the zeros from the array of ROI shapes/precisions