preallocate rects