Add min and max columns