Solution to the moire hole method problem