multiply aim and up with the adjacent length