Move constant from TaskLoop to Task