improved for large scale network

Especially for the case where PNG readout neurons are added