printing works right, just need to calculate the depths of the faces correctly