also setting width/height according to SQUARE_LENGTH