Fixed vulcanizing algorithm.  Now it works for both normal and flipped.