Shark UDAF for finding Maximum