Simulating the effect of photoheating feedback during reionization