faster transformation for mutable.IndexedSeq. Use of cbf!