added constraintsSatisfied, changed structDistance to public