A retrieval method based on a CBR finite element template