extended juclid