Add linearSpaceFree() for retrieving the free space in the linear heap