xpr issues

max(xpr) = 1 (does not increment during the processes...)