The function to measure area difference is added.