added block grid sample