upgrade cost unit order now more consistent. fixes #49 better