Optimisation of renderTwoWayFaec functions