Tweaked 'slurping' code
Should now reduce number of copies