added scanLine processing, NWorksY