Fixed rectangle function.