change max directories count