make it hidden-layer-size-invariant