Reducing energy consumption for seawater desalination