Thermodynamically consistent description of the work to form a nucleus of any size | Synapse