Improve performance of entity movement, with many entities in a single block. Fix #152

Signed-off-by: Ross Allan <rallanpcl@gmail.com>