checking int rect