neuron layers take N>=1 bottoms/tops