Uing heap in job queue of worker