preserve min and max values in envelope