add different treatment for small and large block