Use Lees algorithm for plan creation