Added row transition costs