changes for cran
the examples are running not fast enough