Changing timing for pieces to be targeted using cache and count to eliminate lazy computation