Added constraints 3 to 10
minor fixes