Basic advanced midpoint example setup.