fixed bug in prism method. all blocks were assumed to have direction metadata.