refract memory buffer