On Neural Networks with Minimal Weights