extractpoints is now able to draw midpoints!!