Changed parameter name to sideLength (from width).