Extracting string motif bases for quorum higher than two