first version of fridrich cross and modified cube methods a bit