Sexually. So through the egg being fertilised by the sperm
Short-term memory holds information for 15 to 25 seconds and stores it according to its meaning rather than just as mere stimulation. However, it is not really true that short-term memory can be retained only for this short amount of time. It has been shown in different studies that it can be held even longer.
We know that height in humans is a polygenic trait because it has a lot of variation. The height gene is controlled by at minimum three genes with six different alleles. If all of these alleles are dominant for the tall gene you will be tall if you are dominant for the short gene you will be short if there is no clear dominance between the two genes you will fall somewhere in the middle.