a broken implementation of subsamplers