Update and rename max.h to maxdepth.h