dramatically reduced kernel time after bug fix on image read