you can calculate min and max at the ctor and no need to copy data.