Range Penalization: Theoretical Insights with Applications in Federated Learning