new interpolate works with 3d photonic crystal, after many changes