I haven't written up a solution for this yet, but smarter people than I have described some on the discussion forum.
You can read their thoughts here.