When you defeat the first boss you will get a second weapon, which is the grass one, you can place the grass blocks in high places to hold the edges, for that just jump trying to reach the edge of the grass block.