It would be nice to have an edge transition table, but implementing it sounds pretty tough.