Pairwise geometry compatibility check added + calculating scales.