resize heads/tails