Update layerAllFeatures.cc