Add min and max
Rebuild