Add if statement with different magnets geometry