Made boundSizeCheck work the way it should