splitting rect to 6 imgs