Studies on the effects of wiring density on chip package interaction and design optimization with machine learning