Optimization of references for paper