FIX: Incorrect scaling of costs resulted in negative purchase prices in some cases.