Added fctindx to histogram and changed df in threebarcost