Complete simulation using our algorithm