parallel scan

fixes #19