KBS Legacy buys St. Louis multifamily for $41.8M