Rough idea on FiniteMap solution.