using automated vectorization, still problems with residuum