measurement calculation refined