fixed bug in combineShingles for multiple shingle