Faster fsharp version