eliminate refernce to 'parent'
tighten loop bound for ply construction