refine for elips