Take weight into account when estiming if an histo is empty