A heat pump in a countercurrent crystallization process