Numerical variational technique devised to obtain the low energy physics of quantum many-body systems with high accuracy