find middle point between two point