Use of discrete basis sets in configuration interaction calculation