The length of a cuboid is 4 m more than its breadth and 6m more than its height. If length increased by 3 meters, breadth increased by 4 meters and height decreased by 2 meters, its volume increased by 512m3. Find the dimensions of the cuboid.