new implementation for calculating average receptive field size