Implementing freelist search