precompute is surface and is cornernode
fix precomputation
Merge branch 'surface'