upgrade cost unit order now consistent with unit costs. fixes #49