Add a map to keep track of a programs' buffers