A*, portals partial working