use different size handling to make it compile with other changes