base implementation of workstealing on stack