made logging code portable to old C compilers
reduced memory bandwidth for MV info