Scaling Deep Networks with the Mesh Adaptive Direct Search algorithm