heap's size can be checked