Water reallocation in the input–output model