Add demoting to sqrt