Parse sizes correctly