Magic map before search