squaring (something) around

making (something) straight or right; satisfying (something).