Alpha threshold algorithm