Migrating to hypotenuse