This is a very interesting logic. WHat are you trying to achieve here?