rectangle with broken compare