explicit midpoint implemented