Floyd-2-(Optimized)