A General Constructive Upper Bound on Shallow Neural Nets Complexity