fixed noisy warnings in icpc13 produced by unsupported 64 bit 'reduce' functions
fixed warnings produced by 64 bit reduce functions without affecting the functionality