optimize XPool#resize! (todo: tests)