Implement MinMax
Add bench mark test