add original algorithm for gaussian shells