Levity Algorithm