edwards: use extended coordinates where possible