add function to calculate bucket hash from expected segments
implement some basic methods in IClonesCodeFragmentMapper and test it