Tested on RPi, both RPi1 and RPi2; works fine and fast