added buffers to speed up osmosis slightly on multicore machines