Added cartesian tree with implicit keys