added dynamic tiling for gravities in subtle and little changes