engine work alloc impl