adding min and max for cube measures