The step cost is the target prior work penalty, plus the sacrifice one, plus the enchantment costs (and 1 level if renaming). Each sacrifice enchantment costs its final level on the result times the table multiplier, with separate columns for book and item. Enchantments the target cannot take are ignored.