Add covering prefix calculation script