Optimization using NNOption.getOrElseFast.