upgraded ImageBlockStackReader for new pipeline version