typo, sqrtf and hint on findPath