updates the formula for jp2s to include jp2_space