Use Range.fold instead of creating a sequence and using Seq.fold.