The upper bound speed is used to help determine the swarm speed. 10 is the default value:
The code is as follows:
return Math.Max(Math.Min(Speed, upperBoundSpeed), lowerBoundSpeed);
Upper Bound Speed = 10:
3D Plot
Upper Bound Speed = 20:
3D Plot