Optimisation by adding mapped memory