Placing block in Minecraft like game

I’m making copy of Minecraft on ue4. It’s fully blueprint. Everything works fine, expect placing blocks. I made it like that:

https://forums.unrealengine.com/filedata/fetch?filedataid=155543&type=thumb

https://forums.unrealengine.com/filedata/fetch?filedataid=155542&type=thumb

Problem is that many blocks can be placed on one place, and snapping to grid is not so good. In orginal game block is placed next to wall of block that you pressed, here it’s not working. Sometimes block place in wrong place.