Sped up entity loop and GetBlock