Are proceeds from sale of inherited property taxed evenly or based on what amounts were distributed to each?

My 2 sisters and I inherited land from my mother who died in 2011. FMV in 2011 is TBD at this point. Property was sold in 2019 for $19K, minus brokers fees, etc. Net proceeds were NOT divided evenly. By agreement to cover past taxes paid, 3 siblings' shares were approx. $10K, $4K, and $2K. Are capital gains or losses on the sale still distributed evenly, or proportionately to how much each sibling received?