Ghost Tile Optimization

Adding little Memoization for Performance Optimization