resize greedy when replay