Neural based domain and range pool partitioning using Fractal Coding for nearly lossless Medical Image Compression