predict idat size correctly for interlaced images