speed tweaks and rounding message values