change the data structure of bufferpool