Moved sizes helper to separet class and written tests for it.