Fixed expansion algorithm.