removed tail call optimisation from AST converter and switched to using the tail-call-eliminator module