Optimizing point to point algorithms