Changed heap-based queue

Cleaned up heap-based queue