The 500 is indeed an arbitrary value, for keeping the example simple. In a real system you would check how the 500 affect the result, and whether the system becomes more robust when the parameter is optimized.