add default quadrate degree and degree setter value check