unimodal array generation was added