Slow solution to the seq transformation problem (needs improvement).