Former PM calls parties not to spend money on elections