Better implementation of the squarification of the profile photo