Implement scaling-aware truncation in WeightVector class