use no scratch buffer anymore

Closes #6.