Implement min and max blocks
0.1.9