Linear expansions of correlated functions: Variational Monte Carlo case study