move rectangle counting delata