Sped up 3d block matching by 4 seconds!