Theoretical investigation of benzo(a)pyrene formation