That "magic number" is probably an optimized fraction. Also, my advice is not to copy code/constants directly from the vanilla server (possible copyright violation).