Improve SubBlock indexing

This prevents us from having to loop over the SubBlock list
getSeriesCount() * getImageCount() times.