huge simplification in price algo. xi not used any more