Computes this leaf node task.
This method will be called by compute() if this task is a leaf node.
You should override this method instead of compute.