track max and normalize by log