Match your swing size to your court position. The closer you are to the net, the more compact your swing should be since the ball has less distance to travel. The farther back you are near the baseline, the bigger your swing can be to generate more power.