Use branchless calculation for targets