suggested change to median of 3 calculation mechanics