The influence of size on the composition of nano-precipitates in coherent precipitation