A method of refining a model of crystal structure and an equipment to perform such method