This patch implements cfact for snail layout. This patch must be applied on top of cfact and snail patches.