Adding cache support to speed up Mouf2