Text this: Optimization for the best performance for wavelength division multiplexed passive optical network