[UPDATE] histogram stream transform functions.