A heat exchanger for providing heat exchange between fluids (24, 25), wherein said heat exchanger comprises - a container configured to house a first fluid - a first pipe connector and a second pipe connector, each pipe connector (13, 14) comprising a cavity, wherein each of the first and second pipe connectors (13, 14) comprises a plurality of pipe connection points distributed at the pipe connectors (13, 14), and - a pipe bundle arranged inside said container and extending between the first and second pipe connectors (13, 14), wherein the pipes (17a-17n) of the pipe bundle are configured to guide a second fluid, wherein said pipe bundle in the container is connected to the first and second pipe connectors (13, 14) at the pipe connection points so that the inside of the pipes (17a-17n) of the pipe bundle is in fluid communication with the cavities of the first and second pipe connector (13, 14) and thereby provides flow paths configured to guide said second fluid between the first and second pipe connectors (13, 14), wherein said heat exchanger is configured to provide a heat transfer between the first fluid and the second fluid through the pipe walls of the pipes (17a-17n) of the pipe bundle, wherein said pipes of the pipe bundle are distributed in layers of pipes (17a-17n), wherein a plurality of pipes (17a-17n) of each of said layers of pipes each comprises two bends (B1, B2), where each of said bends (B1, B2) is provided between two flow path sections (S1, S2, S3) of the respective pipe (17a-17n) which extend in the longitudinal direction of said container, so that the respective pipe provides three substantially parallel flow path sections (S1, S2, S3), wherein a first of said bends (B1, B2) is provided between the longer flow path section and a first of said shorter flow path section, and wherein each of said layers of pipes (17a-17n) comprises two pipe subgroups (SG1, SG2), characterised in that the length of a longer of said flow path sections of the respective pipe is at least 1.7 times greater than the length of the other two shorter flow path sections (S2, S3) of said pipe, that the other of said bends is provided between said first, shorter flow path section and the other shorter flow path section, that the longer of said flow path sections of one of said subgroups (SG1, SG2) is connected to a first of said pipe connectors (13, 14), and wherein the longer of said flow path sections of the other of said subgroups (SG1, SG2) is connected to the other of said pipe connectors (13, 14), and that the bend between the two shorter flow path sections (S2, S3) of the respective pipes in one of said pipe subgroups in the pipe layer is arranged substantially opposite to bends extending between the two shorter flow path sections (S2, S3) of pipes in the other pipe subgroup of the same pipe layer. - a container configured to house a first fluid - a first pipe connector and a second pipe connector, each pipe connector (13, 14) comprising a cavity, wherein each of the first and second pipe connectors (13, 14) comprises a plurality of pipe connection points distributed at the pipe connectors (13, 14), and - a pipe bundle arranged inside said container and extending between the first and second pipe connectors (13, 14), wherein the pipes (17a-17n) of the pipe bundle are configured to guide a second fluid, wherein said pipe bundle in the container is connected to the first and second pipe connectors (13, 14) at the pipe connection points so that the inside of the pipes (17a-17n) of the pipe bundle is in fluid communication with the cavities of the first and second pipe connector (13, 14) and thereby provides flow paths configured to guide said second fluid between the first and second pipe connectors (13, 14), wherein said heat exchanger is configured to provide a heat transfer between the first fluid and the second fluid through the pipe walls of the pipes (17a-17n) of the pipe bundle, wherein said pipes of the pipe bundle are distributed in layers of pipes (17a-17n), wherein a plurality of pipes (17a-17n) of each of said layers of pipes each comprises two bends (B1, B2), where each of said bends (B1, B2) is provided between two flow path sections (S1, S2, S3) of the respective pipe (17a-17n) which extend in the longitudinal direction of said container, so that the respective pipe provides three substantially parallel flow path sections (S1, S2, S3), wherein a first of said bends (B1, B2) is provided between the longer flow path section and a first of said shorter flow path section, and wherein each of said layers of pipes (17a-17n) comprises two pipe subgroups (SG1, SG2), characterised in that the length of a longer of said flow path sections of the respective pipe is at least 1.7 times greater than the length of the other two shorter flow path sections (S2, S3) of said pipe, that the other of said bends is provided between said first, shorter flow path section and the other shorter flow path section, that the longer of said flow path sections of one of said subgroups (SG1, SG2) is connected to a first of said pipe connectors (13, 14), and wherein the longer of said flow path sections of the other of said subgroups (SG1, SG2) is connected to the other of said pipe connectors (13, 14), and that the bend between the two shorter flow path sections (S2, S3) of the respective pipes in one of said pipe subgroups in the pipe layer is arranged substantially opposite to bends extending between the two shorter flow path sections (S2, S3) of pipes in the other pipe subgroup of the same pipe layer.