This may not be an exact solution , but it sounds pretty close.
Take a look at this comment, and the reply to it