Add safety check for position sizes