Bubble size reduce logic added Partial commit-1