Unless i'm missing something, 13 is impossible. It seems like the one of the 'goal' slots is coded as a wall, as none of the powercells will go into it and you cant walk on the tile.
Completely fixed and reuploaded, thank you for your patience! :')