Stacking of molybdenum disulfide layers in hydrotreating catalysts