Use the TRANSITION_COSTS table, even at a potential performance cost.