Is the complexity of this problem actually worth effort? Where is a similar example?