add rect rectpool to utilize a rect pool