BSP to compression