Scan: working for numel <= lws