Well, the problem was that my sprites size weren’t a multiple of 32 so the scale and the geometric calculation were not as accurate as I expected to be. Theoretically it had to work! But it didn’t.

I used someones advises and it works fine now. here is the answer that I found for my question

http://flarerpg.org/tutorials/isometric_tiles/

And this is the result:
[![Result][1]][1]

Hope it helps someone, and save some time for him/her.

  [1]: https://i.sstatic.net/yQgva.png