Load input into smem before scan.