Hi,
the reason was the i have to make the multiples of the slices width as total width and height. Script worked fine and sorry in replying late here.
If anyone wants any help on this or clarification just send me a email to
marar.harish@gmail.com
With regards
Harish