Synthesis occurs immediately above a small population of matrix cells at the base of the hair bulb and the trichocytes lining the dermal papilla and extends upward through the matrix and ends in the lower part of the cortex of the hair shaft.