debug free space calculus (client side)