Merging black hole binaries with the SEVN code