new function 4 added
added in tile size coresponding to cache size