Theory and algorithms for face hypercube embedding