added basic global-surface-constraints.