bugfix in MRTask, fixed log2 helper function.