A New Algorithm for Bit Rate Allocation in JPEG2000 Tile Encoding