Add prototype of an optimizer with the first emitter for natural joins