Add __restrict__ for additional optimisation magic