What exactly is the problem? the wall around the doorway is a block, right?
if you want to scale the shadow you can scale down the texture on the floor. Try 0.100 to see better results.