You seem to try to shrink boundaries in proportion to player size to avoid protrusion of enlarged player sprite. However, I guess this challenge will yield the new issue, the collision detection between player and doors(stairs).