More efficient plan parsing