Invia SMS: Mean-variance distance based stock market networks in portfolio optimalization