Remove requirement that total be non-decreasing.